﻿@using Top.Api.Response;
@using HuiJiYunGo.EF;
@{
    ViewBag.Title = "惠集云GO，优惠云集";
    Layout = null;
    var MaterialList = ViewBag.MaterialList as List<TbkDgOptimusMaterialResponse.MapDataDomain>;//商品集合
}




<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>@ViewBag.Title</title>
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link href="~/Content/mobile/style.css" rel="stylesheet" />
</head>
<body>

    <section class="jq22-flexView">
        <header class="jq22-navBar jq22-navBar-fixed">
            <a href="javascript:;" class="jq22-navBar-item">
                分类
            </a>
            <div class="jq22-center">
                <div class="jq22-search-box">
                    <i class="icon icon-search"></i>
                    <input type="text" placeholder="手机">
                </div>
            </div>
            <a href="javascript:;" class="jq22-navBar-item">
                <i class="icon icon-add"></i>
            </a>
        </header>
        <section class="jq22-scrollView">
            <div class="jq22-ad-img">
                <img src="https://ossgw.alicdn.com/alp/1567876039229-750-330.png" alt="">
            </div>
            <div class="divHeight"></div>
            <div class="jq22-good-list">
                @foreach (var item in MaterialList)
                {
                    <a href="@item.CouponClickUrl" class="jq22-flex">
                        <div class="jq22-img-pd">
                            <img src="@item.PictUrl" alt="">
                        </div>
                        <div class="jq22-flex-box">
                            <h2>@item.ShortTitle</h2>
                            <span>30日销量 @item.Volume</span>
                            <h3>券后  ￥@(decimal.Parse(item.ZkFinalPrice)- item.CouponAmount)</h3>
                            <p>点击领取 @(item.CouponAmount) 元优惠券</p>
                        </div>
                    </a>
                    <div class="divHeight"></div>
                }
            </div>
            <div style="height:55px"></div>

        </section>
        <footer class="jq22-footer jq22-footer-fixed">
            <a href="javascript:;" class="jq22-tabBar-item">
                <span class="jq22-tabBar-item-icon">
                    <i class="icon icon-home"></i>
                </span>
                <span class="jq22-tabBar-item-text">首页</span>
            </a>
            <a href="javascript:;" class="jq22-tabBar-item ">
                <span class="jq22-tabBar-item-icon">
                    <i class="icon icon-news"></i>
                </span>
                <span class="jq22-tabBar-item-text">好价</span>
            </a>
            <a href="javascript:;" class="jq22-tabBar-item ">
                <span class="jq22-tabBar-item-icon">
                    <i class="icon icon-pic"></i>
                </span>
                <span class="jq22-tabBar-item-text">社区</span>
            </a>
            <a href="javascript:;" class="jq22-tabBar-item ">
                <span class="jq22-tabBar-item-icon">
                    <i class="icon icon-mine"></i>
                </span>
                <span class="jq22-tabBar-item-text">我的</span>
            </a>
        </footer>

    </section>
</body>
</html>
<script src="~/Scripts/Mobile/jquery.min.js"></script>
<script src="~/Scripts/Mobile/layer.js"></script>
<script src="~/Scripts/Mobile/slider.js"></script>
